//
//  SISSComboBoxView.h
//  SISSAPP
//
//  Created by 优房网 on 2017/4/10.
//  Copyright © 2017年 优房网. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "MMComboBox.h"

@protocol SISSComboBoxViewDelegate <NSObject>

@optional
- (void)comboBoxViewDidSelectDisplayTypeNormalWithRootItemTitle:(NSString *)rootItemTitle title:(NSString *)title;

- (void)comboBoxViewDidSelectDisplayTypeMultilayerWithRootItemTitle:(NSString *)rootItemTitle title:(NSString *)title subtitle:(NSString *)subtitle;

- (void)comboBoxViewDidSelectDisplayTypeMultiThreelayersWithRootItemTitle:(NSString *)rootItemTitle firstTitle:(NSString *)firstTitle secondTitle:(NSString *)secondTitle thirdTitle:(NSString *)thirdTitle;

- (void)comboBoxViewDidSelectDisplayTypeFiltersWithTitle:(NSString *)title subtitles:(NSArray *)subtitles;

- (void)comboBoxViewDisplayTypeFiltersConfirmClickAction;

@end

@interface SISSComboBoxView : UIView

- (instancetype)initWithFrame:(CGRect)frame isHouseResource:(BOOL)isHouseResource isCooperation:(BOOL)isCooperation;

- (instancetype)initWithFrame:(CGRect)frame isHouseResource:(BOOL)isHouseResource isCooperation:(BOOL)isCooperation priceTitleStr:(NSString *)priceTitleStr;

- (instancetype)initWithFrame:(CGRect)frame isHouseResource:(BOOL)isHouseResource isCooperation:(BOOL)isCooperation isProgress:(BOOL)isProgress;

- (instancetype)initWithHouseTypeFrame:(CGRect)frame;

@property (nonatomic, strong) MMComBoBoxView *comBoBoxView;



/** 代理对象 */
@property (weak, nonatomic) id<SISSComboBoxViewDelegate> delegate;

@end
